package top.tanglizhi.springboot3.service;

import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
import top.tanglizhi.springboot3.base.R;
import top.tanglizhi.springboot3.entity.TbFiles;

public interface FileService {
    String UPLOAD_URL = "d://common/2201";

    R<TbFiles> upload(MultipartFile file);


    void download(Integer id, HttpServletResponse response);
}
